home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Games / Connect4 / source / window / gametiedwin.c < prev    next >
Encoding:
Text File  |  2001-05-13  |  1.5 KB  |  43 lines

  1. SubWindow, gametiedwin = WindowObject,
  2.     MUIA_Window_Title, "It's a draw",
  3.     MUIA_Window_ID,     MAKE_ID('T','I','E','W'),
  4.     MUIA_Window_Width,  MUIV_Window_Width_Default,
  5.     MUIA_Window_Height, MUIV_Window_Height_Default,
  6.     MUIA_Window_ScreenTitle, "Connect 4",
  7.     MUIA_Window_CloseGadget, FALSE,
  8.  
  9.     WindowContents,
  10.         VGroup,
  11.             Child, HGroup,
  12.                 MUIA_Frame, MUIV_Frame_Text,
  13.                 MUIA_Background, MUII_TextBack,
  14.                 Child, RectangleObject, End,
  15.                 Child, VGroup,
  16.                     Child, TextObject,
  17.                         MUIA_Text_Contents, MUIX_C"\nOops\n",
  18.                     End,
  19.                     Child, TextObject,
  20.                         MUIA_Text_Contents, MUIX_C"Nobody won that time!",
  21.                     End,
  22.                     Child, TextObject,
  23.                         MUIA_Text_Contents, MUIX_C"\nTry again\n",
  24.                     End,
  25.                 End,
  26.                 Child, RectangleObject, End,
  27.             End,
  28.             Child, HGroup,
  29.                 Child, RectangleObject, End,
  30.                 Child, gtw_ok=TextObject,
  31.                          MUIA_Text_Contents, "OK",
  32.                          MUIA_Text_SetMax, TRUE,
  33.                          MUIA_Frame, MUIV_Frame_Button,
  34.                          MUIA_InputMode, MUIV_InputMode_RelVerify,
  35.                          MUIA_Background, MUII_ButtonBack,
  36.                          MUIA_CycleChain, 1,
  37.                 End,
  38.                 Child, RectangleObject, End,
  39.             End,
  40.         End,
  41. End,
  42.  
  43.